package com.fita.entity.order;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author dan
 *
 */
@Alias("OrderPayType")
public enum OrderPayType {
    
    WECHAT("微信支付"), 
    
    UNION("银联支付"),
    
    OFFLINE("线下支付"),

    PUBLIC_API("对外API支付"),

    YI_BAO("易宝支付"),
    
    ALIPAY("支付宝支付");



    private String description;

    /**
     * @param description
     */
    private OrderPayType(String description) {
        this.description = description;
    }

    /**
     *
     * @return
     */
    public boolean isOffline() {return this.equals(OFFLINE);}

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

}
